﻿using System.Collections.Generic;
using System.Net.Http;

namespace MoBaoPay.Model
{
    public interface IMoBaoRequest
    {
        /// <summary>
        /// 获取请求接口地址
        /// </summary>
        /// <returns></returns>
        string GetRequestUrl();

        /// <summary>
        /// 设置请求接口地址
        /// </summary>
        void SetRequestUrl(string url);

        /// <summary>
        /// 获取请求参数
        /// </summary>
        /// <returns></returns>
        IDictionary<string, string> GetRequestContent();

        /// <summary>
        /// 签名参数
        /// </summary>
        void Sign(string path, string password);
    }
}